package com.cjie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cjie.domain.ResponseResult;
import com.cjie.domain.entity.Article;

public interface ArticleService extends IService<Article> {


    // 查询热门文章列表
    ResponseResult<Article> getHotArticleList();

    // 分页查询博文列表
    ResponseResult getArticleList(Long categoryId, Integer pageNum, Integer pageSize);

    // 查询文章详情
    ResponseResult getArticleDetail(Long id);
}
